import request from '@/utils/request'
import ConstTable from './ConstTable';


// 获取指定分类的系统配置
export function getComSysConfigList(category)
{
    return request({
        url: `${ConstTable.BaseUrl}/BaseData/ComSysConfig/${category}`,
        method: 'GET'
    })
}

// 保存系统配置
export function updateComSysConfig(data)
{
    return request({
        url: `${ConstTable.BaseUrl}/BaseData/ComSysConfig`,
        method: 'PUT',
        data
    })
}